#include "..\GameObjectdefine.h"
#include "Kingdom.h"

#include <iostream>
Kingom::Kingom(int const health) : Building(health)
{
}

Kingom::~Kingom()
{
}

//----------------------------------------------------- public
void Kingom::InitObject(Ogre::SceneNode* node, Ogre::Entity* entity, Ogre::Vector3 position)
{
    Building::InitObject(node,entity,position);
    node_->setScale(node_->getScale() * 0.05f);
    node_->yaw(Ogre::Degree(-135.0f));

}

bool Kingom::frameStarted(const Ogre::FrameEvent &evt)
{
    return true;
}

bool Kingom::mouseMoved( const OIS::MouseEvent &e )
{
    return true;
}

bool Kingom::mousePressed( const OIS::MouseEvent &e, OIS::MouseButtonID id )
{
    return true;
}

bool Kingom::mouseReleased( const OIS::MouseEvent &e, OIS::MouseButtonID id )
{
    return true;
}

bool Kingom::keyPressed( const OIS::KeyEvent &evt )
{
    return true;
}

bool Kingom::keyReleased( const OIS::KeyEvent &evt )
{
    return true;
}

//----------------------------------------------------- protected
//----------------------------------------------------- private